package routes

import (
	"github.com/gin-gonic/gin"
	"lottery/web/controllers"
)

func addAdminGiftRouters(rg *gin.RouterGroup, adf *controllers.AdminGiftController) {
	// 商品管理页
	rg.GET("/", adf.Get)

	rg.POST("/save", adf.PostSave)

	rg.GET("/edit", adf.GetEdit)

	rg.GET("/delete", adf.GetDelete)

	rg.GET("/reset", adf.GetReset)
}
